{literal}
 <style type="text/css" media="screen" title="default">
	        @import url(../../css/components.css?version=20081224);
	        @import url(../../css/skin-base-domain.css?version=20090105);
	        @import url(../../css/skin-base-domain-compatibility.css?version=20081224);
	        @import url(../../css/skin-channel-residential.css?version=20081224);
	        @import url(../../css/skin-channel-residential-compatibility.css?version=20081224);
	    </style>
{/literal}

{if $is_home == 1}
<div><a href="{$BASE_URL}">&laquo; home</a></div>
{/if}
{if $no_categ != 1}
<table id="job-posts" class="job-posts" cellspacing="0">


<div class="cT-searchResults" id="searchresults"><!-- UI NOTE: this ID is used as an anchor for skiplinks -->
				    <h2 class="access">Search Result:</h2>
				    <ul>
{if $keywords}
	<tr><td colspan="3" class="search_results_label">
		Search Results: <strong>{$keywords}</strong>:
	</td></tr>
{/if}
{if !$jobs}
<div id="no-ads">
	{if $CURRENT_PAGE != 'search'}
	{$translations.jobs.no_job} <strong>{$current_category}</strong>.<br />
	<a href="{$BASE_URL}post/" title="{$translations.footer.new_job_title}">{$translations.footer.new_job}</a>
	{else}
	{$translations.jobs.no_job_found}<br />
	{/if}
</div><!-- #no-ads -->
{/if}
{foreach item=job from=$jobs}
	<!--<tr>
		<td>
		
			{if $job.type_id == $smarty.const.JOBTYPE_FULLTIME}
			<img src="{$BASE_URL}img/icon-fulltime.png" alt="full-time" />
			{elseif $job.type_id == $smarty.const.JOBTYPE_NSW}
			<img src="{$BASE_URL}img/icon-parttime.png" alt="part-time" />
			{elseif $job.type_id == $smarty.const.JOBTYPE_QLD}
			<img src="{$BASE_URL}img/icon-freelance.png" alt="freelance" />
			{/if}
			
			{$job.type_id}
			<a href="{$BASE_URL}realestate/{$job.id}/{$job.url_title}/" title="{$job.title}">{$job.title}</a> <span class="la">{$translations.homepage.at}</span> {$job.company}{if $job.location == 'Anywhere'}, {$job.location}{else} <span class="la">{$translations.homepage.in}</span> {$job.location}{/if}
		</td>
		<td class="time-posted"><img src="{$BASE_URL}img/clock.gif" alt="" /> {$job.created_on}</td>
	</tr>-->
	
	
	<table width="100%" border="0" cellspacing="0" cellpadding="3" class="propertytable">
  <tr bgcolor="#F5F5F5" height="20">
    <td colspan="2" ><h2>&nbsp;&nbsp;
	{$state_array[$job.city]} / {$city_array[$job.city]}
	

            
        </h2> <!--<a id="ctl00_searchResultsControl_searchResultsList_ctl00_ctl00_hypAddress" href="/Public/PropertyDetails.aspx?adid=6061968">{$job.type_id}</a>--></td>
    <td align="right" valign="absbottom"  id="bedrooms">
	${$job.price}&nbsp; | &nbsp;
	{php}$a=$this->_tpl_vars['job']['propertytype'];echo $this->_tpl_vars['property_array2'][$a];{/php}&nbsp;&nbsp;
	<img src="{$BASE_URL}img/Bedrooms.gif" align="absbottom" /> {$job.bedrooms}&nbsp;&nbsp;
	<img src="{$BASE_URL}img/Bathrooms.gif" align="absbottom" /> {$job.bathrooms}&nbsp;&nbsp;
	<img src="{$BASE_URL}img/carspaces.gif"  align="absbottom" /> {$job.carspaces}&nbsp;
	
	</td>
  </tr>
  <tr>
    <td width="130" align="left" valign=top>
    
    
    
			  {section name=tmp1 loop=$job.images max=2}

									
			<a  href="{$BASE_URL}realestate/{$job.id}/{$job.url_title}/" title="{$job.url_title}" >
			<img src="{$BASE_URL}{php}echo FILE_UPLOAD_DIR;{/php}{$job.images[tmp1].img}" style="height:86px;width:127px;border-width:0px;" /></a>
			
				{/section}
        
    
    </td>
    <td valign="top">
    
    <div class="description" >

        <h4>
            <a id="ctl00_searchResultsControl_searchResultsList_ctl00_ctl00_hypAddress" href="{$BASE_URL}realestate/{$job.id}/{$job.url_title}/">{$job.title}</a>
        </h4>
        <p>
		{if $smarty.cookies.lang=='zh'}
					{$job.description_zh|substr:0:200}...
					{elseif  $smarty.cookies.lang=='tw'}
					{$job.description_tw|substr:0:200}...
					{elseif  $smarty.cookies.lang=='en' || $smarty.cookies.lang==''}		
					{$job.description|substr:0:200}...
				{/if}
        </p>
        
		
		<span class="access">Viewable for this property:</span>

    </div>
    
    </td>
    <td valign="top" align="right" >
    
	<table align="right">
	<tr>
	<td>  
	<img id="ctl00_searchResultsControl_searchResultsList_ctl00_ctl00_imgAgencyLogo" title="Morton &amp; Morton " class="agent" src="{$BASE_URL}img/searchlogo_4650.GIF" alt="Agent Logo" style="border-width:0px;" />
    
	</td>
	</tr>
	
		<tr>
	<td>  Advertiser:{$job.company} 
	</td>
	</tr>
	
	
		<tr>
	<td>  Contact:{$job.contact} 
	</td>
	</tr>
	
		<tr>
	<td>  
	<a  title="45 Shelley Street SYDNEY" class="button" href="{$BASE_URL}realestate/{$job.id}/{$job.url_title}/">{$translations.property.moredetail}</a>
	</td>
	</tr>
	</table>
	

    
    </td>
  </tr>
</table>
	<br />
	
	

	
	
{/foreach}
</ul>
</div>
</table>
<br/>
{$pages}
{/if}
{literal}
<script type="text/javascript">
	$(document).ready(function()
	{
		$(".job-posts tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");});
		$(".job-posts tr:odd").addClass("alt");
	});
</script>
{/literal}